projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbea46f
)
mpc83xx: suppress unused variable 'val8' warning
author
Kim Phillips
<
[email protected]
>
Fri, 17 Aug 2007 03:52:59 +0000
(22:52 -0500)
committer
Kim Phillips
<
[email protected]
>
Fri, 17 Aug 2007 04:12:26 +0000
(23:12 -0500)
Signed-off-by: Kim Phillips <
[email protected]
>
board/freescale/common/pq-mds-pib.c
patch
|
blob
|
history
diff --git
a/board/freescale/common/pq-mds-pib.c
b/board/freescale/common/pq-mds-pib.c
index 9799117a93aa34285958d76e6b52edbe8dba3a1e..8c013c72fb724a0af77d3efe834fd1e5b15a6f2e 100644
(file)
--- a/
board/freescale/common/pq-mds-pib.c
+++ b/
board/freescale/common/pq-mds-pib.c
@@
-22,9
+22,10
@@
int pib_init(void)
/* Switch temporarily to I2C bus #2 */
orig_i2c_bus = i2c_get_bus_num();
i2c_set_bus_num(1);
+
+ val8 = 0;
#if defined(CONFIG_PCI) && !defined(CONFIG_PCISLAVE)
/* Assign PIB PMC slot to desired PCI bus */
- val8 = 0;
i2c_write(0x23, 0x6, 1, &val8, 1);
i2c_write(0x23, 0x7, 1, &val8, 1);
val8 = 0xff;